package com.zhixin.zhixinmall.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * @author cyc
 * @date 2023/10/08 15:41:25
 */
@Component
@ConfigurationProperties(prefix = "wechat")
@Data
public class WechatProperties {
    /**
     * 登录凭证校验请求地址
     */
    private String jscode2sessionUrl;

    /**
     * 小程序appid
     */
    private String appid;

    /**
     * 小程序 appSecret
     */
    private String secret;
}
